Refactor java_properties.rb into its own dot-properties gem