Backend: stricter input validation unpadding

Make sure the input consists only of characters part of
the number pase (e.g. 01 for binary and 01234567 for octal).

Also unpad leading zeroes for the standard output.
npm scripts: start
Unit tests

Implementation of unit tests using nodeunit for
the basic conversions. Also includes a travis yml for
that glorious continuous integration.