Interface change to uv_get_free_memory and uv_get_total_memory so that they can return errors, addresses issue #832
Update tests to reflect interface changes to uv_get_free_memory and uv_get_total_memory