Factories, specs and capybara

Added controller, feature, and model specs and factories.
Does just `attachment_path(attachment)` work?