Trim the trailing space left by a new tag's label.
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
Merge pull request #506 from pderksen/tagging2

Trim the trailing space left by a new tag's label.