Use Cookie module to get username
Variable name fix
Use only "hostgroups" and "servicegroups" queries
sql2json refactoring
Indent JSON output
Add DEBUG constant for debugging with test user
Add REQUEST_URI parser in addition to QUERY_STRING
Merge remote-tracking branch 'neeme/devel' into devel
Whitespace cleanup
Return original data instead of formatted JSON
Remove default query and filter
Raise errors via SessionException and SessionAuthenitcationError
Merge branch 'noprint' into devel
Merge remote-tracking branch 'neeme/devel' into devel