Unicode surrogate pair support | ClassRange.from fix

+ parse second parameter (re flags)
+ test/index.js refactoring
+ Unicode surrogate pair tests