Gracefully handle no-facebook case for people.

- Not all people will have Facebook pages.
- Instead of trying to render a non-existing page,
  we can just tell the user that the person they’re interested in
  has no Facebook page.
refactor: better var/id names
refactor: two less lines
Gracefully handle no-twitter case for people.

- Not all people will have Twitter accounts.
- Tell the user that the person they’re interested 
  in has no Twitter account.
improve debug output
Fix attachments: use eventItemId, not matterId

Using the matter id as an html ID can lead to the following sitation:
  A given matter is going to be discussed at multiple events. For example, Sign Ordinance (/event_items/34651) in District 5.
  There are multiple events using the matter ID in their html, like so:

    $('#attachments-' + this.matter_id + ' a.attachments').click(function(event) { ...

  Thus there is the same html ID repeated.
  When the a.attachments link is clicked, we try to toggle visibility of an associated attachments list:

   $('#attachments-' + matterId + ' ul.attachments').toggle();

  This is wrong because we'd be selecting all elements with that given ID and showing or hiding their attachments. Instead we just want to toggle the attachments associated with the event item that the user is looking at.

  Also, this was wrong:

  $('#attachments-' this.matter_id).html(attachmentsHtml); // line 138

  Because that was adding the attachments html for the first ID found, so the problem above doesn't even happen because other event items that should have had the same attachments set shown had nothing shown instead.

  This commit fixes these things.
Fix bug: duplicated matters had wrong event date

For the not-so-often case where a matter was being
discussed at multiple events, the html ID was being set
based on the matter ID (which is the same across events)
instead of the event item id (which will be different for each event).
Thus, for a matter being discussed at multiple events, the code
was setting the event on multiple event items (that matched the matter id)
rather than just the one we wanted (for the event item).

By using event item id, we fix this. To verify this, look up items
in district 5, and note that the “Sign Ordinance” appears twice, each
time with a different event date/time.

Fixes #48
remove need for an id on the event item

- Previously, if there was a matter that was being
discussed at multiple events, and those events were
in the same list, then clicking the second 
‘share your opinion’ would have the effect of clicking the first.
fix regex

dates can be like T00:00:00.000Z
we previously didn’t catch the “.000”
Merge pull request #91 from codeforamerica/bugs/fix-same-matter-on-different-events-had-same-date-also-attachments-bug-2

fix issue where duplicated matters had same date/time for different events
revert test commit
Merge pull request #59 from codeforamerica/frontend/handle-missing-social-accounts

handle missing social accounts for people
Update _legislative_items.html.erb

Adjusted the "Ways you can participate" link to launch a new window instead of reusing the current.
Merge pull request #106 from vancefsmithmesa/patch-1

Update _legislative_items.html.erb
Merge pull request #3 from codeforamerica/master

Merging cfa/municipal changes with com/municipal changes