OPENIG-329 CR-5335 Make it possible to omit an empty heap from a route

* also added test to ensure that it is possible to inline a route's handler and avoid the need for a heap.


git-svn-id: https://svn.forgerock.org/openig/trunk@730 dbb9e58e-28e6-4ce0-90e8-f11d9605b710