addresses issue of .end callbacks not being called, and overwritten
added 'else if' to make sure truthy on .end's first call
added a simple test to make sure end callbacks will actually be called
no semicolons
Merge pull request #2 from jbottigliero/master

.end() callbacks