Added custome validator class in libraries
Created a custom library to validate form data and used that in the controllers.
Using the custom form validator in category controller.
Merge pull request #9 from jitendra-1217/feature-2

Custom validator and it's use in controllers.