Move database access to external content provider

Also
1.  Added gson libraries for JSON processing
2.  Add google-play-services for GCM
3.  Added a method for clients to get the sender id from the server
4.  Implemented the initialization of the session including gcm
Added missing id column