adding getPageIndex to make UIAPageIndicator work
Merge pull request #79 from bernii/master

Adding getPageIndex to make UIAPageIndicator work