Added testing

Testing class, configs for travis and scrutinizer and autoloader added.