Remove compilation products and update .gitignore accordingly
Reorganise and clean the repo

- Outdated "trunk" is renamed to "old_trunk"
- Documentation is moved to root folder
- Duplicate documentation is removed
- Permission changes on doc files
Fix compilation and runtime issues

- Some non or half-implemented features have been commented out
- Add an image directory for the generation of the bitmaps