Tidy up code and comments after restfs refactoring
Remove unnecessary argument to path.basename in boilerplate
Merge pull request #281 from rrthomas/master

Tidy up code and comments after restfs refactoring