Fix a bug in UIElement's CalculateLayout() that caused an infinite loop with certain flex scale values .  Fixes #529
For Travis CI - switch CI build to use OS X build environment.