Merge pull request #3 from timlinux/feature/inasafe-1334-new-style-parameters

Feature/inasafe 1334 new style parameters
Updated clear new profile behaviour. Started on context switch. Remove QFile and QDir in favour of native python file handling.
Resolved merge conflicts