Added more documentation, tests, and a `dontSplitFiles` option

Also normalized the code to match conventions in other sails ecosystem projects