added vim per file settings
PORTABILITY
added permission test aswell
Merge pull request #13 from Arkham/portability

Portability fixes