Module extended doc

I added some documentation for the undocumented Module#extended.
In the second commit I also fixed up some parentheses placing as it seemed odd that some have white space around the parameter and some don't - I found without white space to be commoner so I went with that. 

Cheers and thanks for your work!
Tobi