fixes #2969 - remove all legacy api code in UI controllers
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2986 - remove #show method from controllers and routes.rb when not used