Merge pull request #79 from flexiblepower/development_hans

Force Java 1.6 and small fix to get tests to run on buildserver
Added Agent interface and base implementation for agent