layer srs is inherited from map srs

Do not output srs attribute when srs is undefined,
since layer srs is inherited from map srs, it is optional.
Add test for #294
Merge pull request #294 from kapouer/patch-1

layer srs is inherited from map srs