add addodb to Template.php

If we use it as Annotation (we need it for Symfony) this class is called on bootstrap before zend compatibility listener.