Merge changes from topic "dexopt-min-change" into oc-mr1-dev

* changes:
  Add check that classpath is up to date to getDexOptNeeded
  Update the context classpath after the dex files are opened.