Mavenize project

Move source and test directories into the standard maven locations and
add meta and common dictionaries as test resources.