Move cache expire time to localenv

Fixed .gitignore to really ignore localenv.php and cache.
Moved expire time to a constant defined in localenv.php
Merge pull request #11 from flodolo/cache_expire

Move cache expire time to localenv