changed that module basePaths always need to be a directory now (start with / and end with /)
changed modules to behave like that and the ModuleSettings code to reflect that change.
added dependency that I had forgotten.
fixed double escaping bug.