Merge pull request #16 from xnova/master

allow logging of exceptions in API handlers to screen/file
move logger configuration to the beginning of file, add information to exception during logging
update version
allow None to be returned in JSON API handlers (instead of triggering this exception)