added kiama and scala to the jars we're checking on the classpath
removed the serialisation of the Optimiser duplication cache