Using package & packagefile id instead of their name. And fixes the model to use in case of packagefile request.
Fixes issues with duplicating, deleting & exporting packages after using package id instead of name in the request.
Fixes checkin-checkout behaviour for packages.
Merge pull request #213 from Achal-Aggarwal/packages-checkin-out

Fixes checkin-checkout behavior for Packages.