Move displaying stuff into a new class
Rename parameter and fix doc block
Split user setting related stuff to a new class
Rename some methods and add doc blocks
Move filterUsersBySetting() into UserSettings class
Fix tests
Make deleting more generic and stop querying the table directly
Fix deleteActivities() condition generation
Rename tests so we can use test.php as a filter
Move query generation to the Data class

Also return an empty array instead of running the query
Add tests for UserSettings
Reduce nesting level
Fix parameter description
Fix more doc blocks
Fix doc block of Data::send()
Merge branch 'reduce-size-of-dataphp'

* reduce-size-of-dataphp:
  Fix doc block of Data::send()
  Fix more doc blocks
  Fix parameter description
  Reduce nesting level
  Add tests for UserSettings
  Move query generation to the Data class
  Rename tests so we can use test.php as a filter
  Fix deleteActivities() condition generation
  Make deleting more generic and stop querying the table directly
  Fix tests
  Move filterUsersBySetting() into UserSettings class
  Rename some methods and add doc blocks
  Split user setting related stuff to a new class
  Rename parameter and fix doc block
  Move displaying stuff into a new class