landed first version of FSM based tokenizer

fsm style taken from creationix/jsonparse

support for special tags (<script> & <style>) is missing