Removed multiple db connection instantiations, built deviceId registration API
Corrected DB model and table names, built events API
Changed JSCS settings, fixed lint
Merge pull request #13 from vboginskey/develop

Built events API, fixed lint, made small DB changes