Fixing a bug with the quest log.
Add 95% of the shop tutorial script...

Part of #107
Merge pull request #401 from authenticate/upstream2

Fixing a bug with the quest menu.
Added support for dialogues within the shop mode + setting the position of the dialogue window.

I also fixed the shop script.

Part of #107

The last part is to more cleanly separate input management from gui update in the Shop mode,
and add support to select an item in the lists from a script to finish the tutorial.
Quick-fixed the html manual table borders.
Added the right html doctype to the offline manual.
Made AbstractMenuState::_DrawBottomMenu() virtual

It doesn't change anything feature wise, but is saner c++ code.

Fixes #405
More on the offline manual...
Adding the transform2d class.
Updating the CMake build system to reflect the new files.
Incorporating Logzero's changes into the newer code base.
Some minor updates to the transform2d class.
Prototyping a programmable graphics pipeline.
Adding a sprite class.
Implementing image rendering with the programmable graphics pipeline.
Working around an issue with rotations.