Added travis badge.
Added tests.
Removed classes when the flyout is destroyed.