Fixed doc gathering

Fixed doc gathering of non-REST methods inside RestController. 
Using the `:method:` directive to fetch the http method. 
Removed /index from path of index methods.