add customization to UIButton and UIPageView

1. add zoomScale to UIButton, now developers could customize how much zoom scale is when pressing a button
2. add customScrollThreshold to UIPageView, now developers could determine the swipe distance to trigger a PageView scroll event.
3. add tests to test 1&2.

These two modifications are minor improvements over the hard-code value in our widgets.