Add Espresso test framework
Add Tests for TakePictureActivity
Some small refactoring