Update spring-data-rest-repository/src/main/java/org/springframework/dat...

Jon,

Submitting a pull request to have the same logic that you applied for the "Version" value in JpaEntityMetadata added to the Id value.  If the Id value is annotated with @RestResource(path...), then the id would be written.  

I was hoping to have this ability in order to maintain backwards compatibility with my old existing api, and I thought that it might be useful for others rather than just deploying my forked version internally.

Thanks,

Mike