Updates to sb.js and multiple fixes to admin.js

Can someone double-check everything? 
* Made one small change to sb.js to make it work in node again
* Finally tracked down why sb-admin.js acts weird
  * Keeping track of all added/removed routes in routes array
  * Keeping track of all added/removed clients (were only tracking add before)
  * CompareRoutes function was broken, now works properly