fix the status code checking
Merge branch 'master' into query-creation
Register query on create.
Merge branch 'query-creation' of https://github.com/with-regard/regard-website-api into query-creation
Revert "Register query on create."

This reverts commit 9b1d857a288861a8a93acb242c05d1830e61a7e5.
Validate query defintion JSON. Implement ember findone for chartdata
Remove chart model

Store chart information directly on the investigation model
Github users are developers
Merge branch 'master' into query-creation

Conflicts:
	server.js
Merge pull request #1 from with-regard/query-creation

Query creation