Incorporate a smarter way of excluding a ExposedInstrumentationApi class.
Thanks go to JakeWharton, this is pulled directly from double-espresso
https://github.com/JakeWharton/double-espresso/
Add a check that makes sure we're running with jdk7