Fixes for element text

- Clean element text from whitespaces, e.g '\n' and '\t'
- Add element to output even if text is empty
Implemented handling of FOAF records in publisher and contributor

- Now copies element's @rdf:resource property to text
- Extracted person_attrs() to top level
- Defined new FOAF handler functions
- dc_metadata_reader() mapping now also support callbacks