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.
Is there a reason you don't use the newest stable version? (2.*)