Accelerometer support added

All changes since August 2014.
Added support of accelerometer and graphing of data.
Updated to latest Gradle version.
Added feature for logging and emailing accelerometer data.