Changed permissions.
Added .gitignore
Ported to OTRS 3.4.x