Fixed bug where on-remove event fired before the selected array was updated.
Fixed bug where on-select event fired before the selected array was updated.
Fixed tests of select/remove bug fix.
Merge pull request #501 from gotenxds/master

on-remove and on-select should fire AFTER addition/removal of the item