fixed copyright notice
- improvements due to work on TinsPHP
-- added more tests
-- improved some existing tests
-- few renamings