Encapsulate task creation so that the gh-pages can be generated from a sub-directory

I wanted to use middleman-gh-pages for a project's docs, but I didn't want to split them out into a separate repo. So, I refactored how the rake tasks were created to make it so you can 1) change the root. 2) nest them inside namespaces.

What do you think?