Replaced .hgignore by .gitignore.
Fixed error when adding asset types.

It apparently was a missing import