Added spec for shared instance with custom initialization
Added travis status badge to readme
Fixed potential multithread bug
Updated podspec to version 1.2.2