fixes slow builds introducing property to distinguish build and webapp

Conflicts
	intermine/objectstore/main/src/org/intermine/objectstore/intermine/ObjectStoreWriterInterMineImpl.java