Exports - Add json export in Licence details, subscription details, package details pages

.. and a few fixes in MyInstitutionsController.groovy