Support --incremental on dex

Support incremental dexing, useful in incremental builds.