Add support for different kernel specs to kernels REST API
Add kernel name to sessions REST API

Also, some refactoring so that the relationship between session, kernels
and notebooks is managed in the SessionManager, not in the HTTP
handlers.
Update JS for kernels and sessions APIs
Delete session rather than killing kernel in test cleanup
Fix JS syntax
Remove / from route of TreeRedirectHandler.

When base_url is set, navigating to http://{url}/{base_url} returns 404
This is due to the TreeRedirectHandler only picking up
http://{url}/{base_url}/ and the trailing slash handler being set to
{base_url}/.*/.

This change will cause http://{url}/{base_url} to correctly redirect to
http://{url}/{base_url}/tree, as expected.
Add default_kernel_name class level variable
Merge pull request #6117 from thetestpeople/base_url-path-slash

Remove / from route of TreeRedirectHandler.
Merge pull request #6026 from takluyver/kernelspec-rest-launching

Kernelspecs in REST API for kernels and sessions