removed dos linefeed
extended preinstall script with cache and log dir create
php 5.4 compat. fix: Call-time pass-by-reference has been removed
magic method fix
Merge pull request #2 from justnx/master

some php5.4 compat. fixes