Overload Application.generate() with a json closure
Remove deprecated warnings
Merge pull request #2 from sgillespie/master

Add Json Closure to Application.generate()