refactor order of requires

Unified the order of require'd files for better readability.

First, Node requires (e.g. 'path', 'http').
Then, npm requires (e.g. 'connect', 'optimist').
Then, local classes (e.g. './OurLib.js').
Then, local functions (.e.g './exit-process.js').
Each group is newline separated.