UI and Service Integration

General code restructure, usage of jquery mobile for the UI. jquery
Validation plugin for validating logins. Also finished adding support to
call the JSON services. There is currently a bug calling devicepushtoken