Add some useful defaults to the gitignore.

Ignore files that generally don't belong in VCS.
Add an install script.

This install script takes care of copying the default config file into
its proper place, and changing permissions on the tmp dir if required.
This will help ease use of the app skeleton. It also gives a place for
application developers to provide their own install script if they want.