Change the single constructor to something we only
use internally and provide newMacaroon and importFromJSONObject
functions that construct macaroons using the internal constructor.
Also rename js-macaroon.js to macaroon.js, add LICENSE
file and reorder package.json attributes in preparation for merge
with original js-macaroon branch.
Change the single constructor to something we only use internally and provide newMacaroon and importFromJSONObject functions that construct macaroons using the internal constructor.
Also rename js-macaroon.js to macaroon.js, add LICENSE file and reorder package.json attributes in preparation for merge with original js-macaroon branch.