Update POM version numbers to 5.0.4-SNAPSHOT