Use loopback-boot to setup html5 loopback client
html5: move replication setup to a boot/ script

Move most of the remaining loopback code in app.html5.js into
a new script boot/replication.js.

Clean up unused variables in app.html5.js.
Merge pull request #24 from strongloop/feature/loopback-boot-in-html5

Use loopback-boot to setup the html5 loopback client