Fix nameable concern to be compatitble with RestPack

I had to rename resource to linked_resource since RestPack adds a
resource method to models. In addition RestPack adds the
rails/protected_attributes gem, so I had to whitelist the name attribute
to allow easy assignment of uri names to Nameable models.