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
Factored delegate settings out, and added additional test beacons
Refactored beacons functions to work for multiple beacons at once