Move $repository property to BaseRestfulController from BaseController
Reformat constructors of controllers
Remove redundant constructor for abstract BaseRepository class