Merge pull request #7 from akbargumbira/master

Refactor things to function.
Refactor directory creation into its own function. Make sure dirs are always present
Merge pull request #8 from timlinux/master

Refactor directory creation into its own function.
Use lowercase namespace as docker > 0.9 requires it
Merge pull request #9 from timlinux/master

Use lowercase namespace as docker > 0.9 requires it
Merge pull request #10 from akbargumbira/master

Mount web dir to inasafe container
Use variable for shake cache and extracted dir.