Missing parameter in parseInt, switching to |0

JSHint was complaining about a missing parameter in parseInt so was a
good time to use the |0 trick and shorten things.
Laxbreaks, because jshint hates && at the beginning

I like it that way, though.
Missing () for a constructor.

Was going through a phase when I decided to omit it, have seen the err
of my ways.
Missing semicolon in uuid function.
Allow == when linting
Strict equal when checking the remainder in isInt()
Was defining the same variable in two separate places.

Not actually dangerous because the code paths couldn't intercept, but
this made it pass jshint.
All jshint errors have been fixed.

Moved a function outside of the while loop, all tests are still passing.