add train script
update gitignore
add plugin versions to POM for Maven 3.0 happiness
more updates to gitignore