Merge pull request #1 from braincrafted/develop

Update my fork from main repository
#311 Trigger Javascript events

Trigger JavaScript events using jQuery(we already use jQuery) trigger function.

Now you can listen to:

* Add event using: bc-collection-field-added
* Remove event: bc-collection-field-removed
Remove white spaces
Add danger() method to FlashMessage and make error() an alias for danger()

Fixes #313
Merge pull request #312 from tiagobrito/develop

#311 Add JavaScript events for Add and Remove field in bc-collection
Merge pull request #315 from braincrafted/flash-danger

Add danger() method to FlashMessage and make error() an alias for danger...
Restore parent form's settings when subform ends
Check for stack underflow
Add unit test for backupFormSettings and restoreFormSettings