fix imports

this cleans up the imports by replacing asterisk imports (which is considered bad practice), removing unused ones, adding needed ones and letting Eclipse do auto-ordering
get rid of "this." where it is not necessary
remove unnecessary casts
add all missing overrides... really all
add missing deprecated annotations
Merge pull request #360 from darkv/code_cleanup

Code cleanup