tests(cropper): add cropper unit tests

- [x] cropper unit tests
- [x] camera unit tests

Fixes #1460.
Fixes #1457.

@vladikoff r?
![image](https://cloud.githubusercontent.com/assets/128755/3864623/3662cb96-1f64-11e4-8def-a1ebd21ba201.png)