Merge tag 'v1.2.1'

[maven-release-plugin]  copy for tag v1.2.1
Update library/src/uk/co/senab/photoview/PhotoViewAttacher.java

fix  ImageView no longer exists. You should not use this PhotoViewAttacher any more.
the cleanup don't work so i fixed it like this.
Merge pull request #34 from xeodou/master

ImageView no longer exists. problem
[maven-release-plugin] prepare for next development iteration
New setScale() method with various options. Deprecates the zoomTo() method.
Remove use of zoomTo, and enforce scale bounds on setScale
don't keep the ViewObserver as it may not be alive when we need to remove our view
(otherwise it crashes when the PhotoView is in a Fragment in a ViewPager and the page is no longer kept)
no need for the dummy files to compile
unset listeners on cleanup to avoid events coming asynchronously
@Override is always a good indication in the code
use LogManager so logs can be redirected if needed
avoid doing cleanup twice, fixes a crash when null mImageView is called
[library] Bit of tidy up to aea36b9aa734d5c7d3fb69f43926dbac28453048
the posted fling runnable may also be executed when it shouldn't
the post(Runnable) may remain as a crash in PhotoViewAttacher sometimes occur after the cancel
Remove resources from library. It is now simply a java dependency, not a library project.
Merge branch 'dev' of github.com:chrisbanes/PhotoView into dev