corrected handling of RestController mixed with non-REST handlers
better sorting of RESTful handlers when interspersed with others