added license
clean up
added suport for pagging and time period query in sub queries
Merge branch 'master' of https://github.com/tidepool-org/labs

Conflicts:
	sonar/client/css/login.css
	sonar/client/css/login.less
	sonar/client/css/master.css
	sonar/client/css/master.less
	sonar/client/index.html
	sonar/client/js/app.js
	sonar/client/js/lib/pool.js
	sonar/client/js/lib/range.js
last merge changes