Implemented validation method in Package for packages json configuration.

* Added Unit Tests project
* Added tests for new method