LUCENE-801: build lucene core and demo first, change classpath to use the build classes instead of the jar