Fixed Issue #13

Version 2.2.0 broke the “setSelectedIndex:” function of
M13InfiniteTabBarController. This update fixes that issue.

Also adds a test to the sample project to check that functionality.