Add some functional tests for new authenticated rest stuff
added check for UI Thread
got rid of the direct() call
Fixed an issue when the method had parameters
added useDirect variable to UiThread annotation
Merge branch 'develop' into 475_Rest_Authentication
Serialized @Background task cancellation bugfix

If a serialized @Background task was cancelled after it had been
submitted to the executor but before its run() method was called, then
the following tasks with the same serial identifier were not executed.

Issue reported here:
https://github.com/excilys/androidannotations/pull/579#issuecomment-19173978

Detected by ThreadActivityTest#cancellableSerializedBackgroundTasks()
(but not always due to the race condition)
Merge pull request #624 from rom1v/cancel_background_fix

Serialized @Background task cancellation bugfix
added Propagation enum instead of boolean
Fix wrong generated code
Handle RuntimeExceptionDao in @OrmLiteDao
Merge pull request #629 from yDelouis/628_runtimeExceptionDao

Handle RuntimeExceptionDao in @OrmLiteDao
Add functional test
Removed clone body for a better method.
Changed to only reuse thread if delay == 0
Merge pull request #627 from yDelouis/504_genericType_itemClick

Fix @ItemClick and parametrized types
Add @FocusChanged and @CheckChanged in getSupportedAnnotationTypes()
Merge pull request #637 from excilys/636_triggerAnnotatiosn

Add @FocusChanged and @CheckChanged in getSupportedAnnotationTypes()
Fix #626. Move some classes into API-project
Merge pull request #605 from rockytriton/604_check_currentThread_in_UiThread

added check for UI Thread