metadata - ensure title is not blank for layer

rollback some of 6c8318eb - if the layer has no title, the
caps doc will contain none and this may cause problems
Merge branch 'mapstory' of github.com:opengeo/geonode into mapstory