Pretty json

@mattgillooly 

create the definitions dir if it doesnt exist, add option to pretty print the defintion.json via the PRETTY env:

    rake defintion PRETTY=true
This is considerate, but I'd be inclined to make the pretty version the default unless there's a known objection.