Upgraded buildfiles to java7.
Deleted deprecated buildscripts.