resolve issue33 - due to incorecctly nested if statment log settings dissapeared when mapping disabled.  have un nested statement and re-indented code.
Merge pull request #34 from rigagoogoo/issue33

resolve issue33 - due to incorecctly nested if statment log settings dis...
Added true full cache purge and updated log and map files location
Fixed bugs in paths
Added default creation of log file
Added true purge and fixed asset overwrite
Fixes bug in purge logic and admin screen
turning on logging did not work if log file did not already exist. this fix creates the path to the log and the log itself if non-existing when user turns on logging.
Merge pull request #38 from pjv/fix-logging

fix logging bug
Fixed logging