Improved server module templates to generate
correct config that can launch Liferay.
Add initial support for external consoles to
display output of server run command.