Battle against memory leaks + Bonus
* This commit should solve 80% of the leaks detected.
* Minor fix on the shouldAutoRotate method.
Version 0.3.1
Merge pull request #33 from massix/develop

Battle against memory leaks + bonus