Fix collectionView reset buffer itemView show condition

When a collectionView was rendered and then reset, the itemView had
show called while it was still in the dom fragment.
Thus invalidating show and onDomRefresh

fixes #843
Merge pull request #849 from marionettejs/sjs/843-collection-reset-bug

Fix collectionView reset buffer itemView show condition
onDomRefresh should only trigger if the view.el is actually in the DOM
Trim trailing whitespace
EditorConfig settings should only target JavaScript files

We don't want to trim whitespace in markdown, etc.
Add notes about coding conventions, EditorConfig and using CoffeeScript in examples
Merge pull request #857 from cobbweb/add-more-notes-to-contributing-doc

Some updates for CONTRIBUTING.md
Merge pull request #855 from cobbweb/ondomrefresh-bug

onDomRefresh should only trigger if the view.el is actually in the DOM
Return the newly added view from addItemView in CollectionView.
Merge pull request #851 from ericmatthys/master

Return the newly added view from addItemView in CollectionView.
BabySitter and Wreqr as dependencies. Fixes #860
Merge pull request #862 from rhubarbselleven/issue860

BabySitter and Wreqr as dependencies. Fixes #860
add itemEvents to collectionViews

fixes #838
Merge pull request #861 from marionettejs/sjs/itemEvents

add itemEvents to collectionViews
v1.5.0 bump and build
Allow options to be passed to the regionType when building a custom region

Adds test coverage
Merge pull request #803 from dakota/patch-1

Allow options to be passed to the regionType when building a custom region
Include ignore for IntelliJ based IDEs
Merge pull request #864 from andrewhubbs/patch-1

Include ignore for IntelliJ based IDEs
fixes collectionView buffer bug
* Fixes #865
* Trigger itemView.onShow in appendBuffer
* Fix bug in collectionView.spec