Clean up POM; normalize whitespace; add scala support; fix riak dependency issues