Reduce idiocy of the code a bit

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Improve token printing

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Use libtidy for parsing input files

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Fixing more WTFs...

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Merge branch 'master' of github.com:tom3q/BookFinder