API now actually outputs JSON from the db. Fixed API query format issues that prevented queries from executing. Sanitized GET input. Also added a few helper functions.
Merge branch 'master' of github.com:brannondorsey/artistswebunion