resolve issues with validation of published_works

added 'inverse_of' relationship between publications
and published_works to allow validation with
nested_attributes
added poem/published_work tests