Turned off apipie parameter validation
Redundancy reduced in API controllers

* Introduced ApiController to reduce redundancy between
  404 code on all api controllers. All api controllers should
  inherit from ApiController from now on

* Use before filters to share code between controller actions