Unit testing using codeception

Added first unit tests using codeception like discussed in #941. Now it is up to the community to add more tests, use selenium web driver and make it successful.
this should probably be composer install.