Error on empty devicelist

If no devices were returned the valid() returned true. Resulting in an error on current()
Fixed Typo in variable name

$collapse_key should be $collapseKey
Updated .gitignore for Intellij
Merge branch 'patch-1' of github.com:row-b/php-library2 into 0.1.1

- fix for empty device list
Android UUID format reg_ex syntax bugfix
Added test to cover DeviceTokenList more thoroughly

- updated tests in response to Issue #5 on GH, and to cover PR fix.
Merge branch 'patch-2' of github.com:row-b/php-library2 into 0.1.1
Doc updates and fixes
Changed vaild logic in DeviceList after review

- after loadNextPage(), postion will always be zero, so just
  using the token count makes more sense
Merge branch 'master' of github.com:andrescamera/php-library2 into 0.1.1
Add tests for UUID issue
Doc version update