Fix PHP warnings, add UA method args filter

This diff fixes a couple of PHP warning we were getting, as well as adds a filter for the arguments passed from Blimply to the UrbanAirship API methods.