Added JLayout support for FOF

Implements JLayout for FOF with the addition to look for version specific files and overwrites like default.j31.php, default.j3php, default.php
I did it a bit to complicated, reduced lines of code
Merge pull request #132 from rdeutz/layout-support

Added JLayout support for FOF
Merge branch 'refs/heads/staging' into development