Gravar-mail: Advances of RRAM Devices: Resistive Switching Mechanisms, Materials and Bionic Synaptic Application