Added support for command line JSON output
Added support for using a custom named datafile.
Provided default arguments for all parameters.

Now a blank request will no longer fail with a server
error and will instead return a default set of data.
Added testcases to start to address #7924.

This bug is really strange. It only occurs when running through
Apache. The testcases pass, and the server performs correctly
when running under Foreman.
Option decoders no longer barf on empty input.
Fix for #7924.

In versions below 2.7.3, shlex doesn't properly account for
unicode characters. This only occurred with Apache for some reason,
either because mod_wsgi uses Python_2.7.2+ or because Apache was
handing it Unicode strings.

This fix simply converts the string to ASCII before handing it to
shlex. Since the set of valid characters for an AS parameter are
'AS1234567890[],' and should always encode to ASCII, this should be
safe.
Merge pull request #1 from cwacek/bug_7924

Merging fixes for #7924