added I2C_ModifyRegister function to read, modify and write a register in one bus cycle
added a naive reset of the MMA8451Q
Added functions to bring MMA8451Q to passive and active mode without modifying the other configuration