make configure not clobber modified submodules at all

this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.