Add properties and build sections to set java source version and UTF-8 encoding

Added properties and build sections to example pom.xml file to set the java version to 1.5 and encoding to UTF-8.  This eliminates an error and a warning.