Make FB permissions configurable by developer.

Added more tests & added cocoapods cache for travis-ci.