Refactored script for mootools 1.4.5

Rewrite of the Tab class for mootools 1.4.5. Works with my contao 3.1. beta well. I have replaced all the depreacted stuff and added some improvements :)