API Added canView() checks to record listing logic

In preparation for removal of those checks from the underlying
JSONDataFormatter and XMLDataFormatter implementations in core,
which shouldn't deal with these kinds of model concerns.
Travis support
Line length fixes (no logic changes)
Added build status to readme
Added composer config
Add global option to enable or disable API