Make Helpers::queryToArray second and third arguments facultative
Code tweaks
Add support for populating checkboxes and radios with relations