added license headers
fixed incorrect sending of error
#101: preload openid provider images
#102: now properly apply codemirror on bookmarked queries
cleaned up debugging statements
improved saving of bookmarks to db
#105: updated db schema
#103 disable bookmark functionality depending on loggedin status and db connectivity