closes #27: model update() calls now validate the updated data
closes #2 in PHP-FluxAPI-Plugins-Rest: passing model ids to relation properties will also save them