add excludes for BC_IMPOSSIBLE_INSTANCEOF and BC_VACUOUS_INSTANCEOF
make sure inputstream is closed
add some more PMD exclusions
eliminate some PMD warnings