Dynamically generate the JSON files

Hey, I have added json files to generate.js so they are generated together with licenses.

But I have used sync fs methods in few places (reading licenses content), because I was just a lot easier, so I'm not sure if you will like it :)

Issues covered:
#2
#3
Hmm, actually, this is kinda moot as the filename is the exact same as the license name. How about we drop this property and just mention in the documentation that name/filename is the same? People aren't going to use this relative path in the browser anyways.