339 - use the OTP lexical scanner
scanner: improve token conversion
moved files around
upgrade min erlang version to R15/R16
scanner: fix bugs and tests