Add possibility to retrieve logged in user in smarty templates

Should be useful for a lot of people, also see: http://forum.shopware.com/topic24481.html

**Disclaimer:** Not tested with active HTTP cache module, not sure if there are any implications. Needs to be checked before merging this PR!