[NFR] Option to disable RVO at run time

This is especially useful for Travis tests as we can test both cases when return value optimization is enabled (default) or disabled (ie, due to 3rd party extensions) and detect errors early.