Use UUID when unique ID is needed

Code that required a dataTables instance to be stored in a variable has been rewritten

Fixed bug where clicking a filter button for a second time reset all filters.
The filter button now act a toggles which really makes the reset button redundant
but I've left it for compatibility

Also fixed bug where the wrong parameter was passed to the filter function
in a couple of instances on the families table