Rootpath determination automated.
Refactored redirect logic.
Postformatter is now responsible for url-replacements in the post body.
Moved edit view to the correct package
Theme fixes (for Liferay 6.2)