[tkt-60] Fixes CSS & JS file permissions

Also fixed bug with missing templates from phar.
Merge pull request #5 from hoborglabs/tkt-60

[tkt-60] Fixes CSS & JS file permissions