Updated maven-release-plugin to 2.5

The old version did not work well with the latest versions of git.
[maven-release-plugin] prepare release androidannotations-3.1
[maven-release-plugin] prepare for next development iteration
Update samples in order to use latest 3.1
Merge branch 'release/3.1' into develop
add CanonicalNameConstants and JClass refs for PowerManager and WakeLock
refactor permission check

- to allow checking for any permission
- added  a warning for library projects instead of ignoring the permission check
add @WakeLock
add Test for @WakeLock