Further improved layout.php

Used Kohanas HTML helper and added some tabs for cleaner code