Add close() to parent contexts on shutdown
Add MaxPermGen option to gradle wrapper
Use a nicer admin-ui url

This commit allows access to admin-ui from either
http://localhost:8080/admin-ui/index.html
http://localhost:8080/admin-ui
Ensure Server is Started in Shell Tests

Changed timeouts to more closely align with current (infinite) behavior
Use Hamcrest matchers for metrics tests
Remove delay.xml, that was commited by mistake
Removed deprecated classes and usage of those