Update index.php

Fixing ShortTag call for footer.php, adding a APP_KEY define to make changing out app_keys easier.
Update header.php

Implementing APP_KEY as a define, carried over from index.php.
Merge pull request #1 from lanji/master

Index.php fix for for the Footer, and APP_KEY suggestion