Implement launching applications by supplying an URL

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add support for setting the type of a application window

Signed-off-by: Simon Busch <morphis@gravedo.de>