Added additional Unit Tests, made PHPUnit Test bootstrap function, updated class constants, added debug mode (off by default), removed tabs for spaces, 	updated fetching of card images to allow rotations...