Set and get referer url from object and redirect

Code to set referer moved to CroogoComponent to be usable for other
plugins, Session key is set in Croogo.referer and is erased upon
redirection.