One-to-one rewrite

While the changes in the other PR were made on your version of the port, this is a complete rewrite of the lib.
Mind that I rewrote it to become familiar with the code - which now I understand a lot more - and not because yours wasn't good (in fact they ended up quite the same, but the order of things is probably different).

All three demos compile and work for flash, neko, html5 and cpp.

I've removed the small test image as now it's correctly working on the default image.

Thanks for granting me direct access to the repo! As this is a big change I wanted you to review it first and decide to merge or not.

Also, if you accept this, can we rename it to hxDaedalus? I like it more :smile: