ERT-566: Added safe_cast macro for vector_template.
ERT-566: Added better error message in test_assert_util_abort()
ERT-566: Added test of util_abort() for negative index.