Update .gitignore to ignore user defined templates and themes

An update of .gitignore following the specs of http://git-scm.com/docs/gitignore

"/templates/*" ignores everything in the folder (i.e. "my-template")

"\!/templates/base/" unignores specified folder