utils: raii_wrapper: delete copy constructor

 Allowing raii_wrapper to be copied may cause doubly finalizing of
resources. So delete copy constructor to avoid it.
 Also move a part of implementation to utils.cpp
Makefile: add simple 'test' command