Use std::error_code

Now can use std::error_code and boost::error_code in yam ail
“system_error” exception.
Use inlines functions
Merge pull request #7 from yandex/fix-std-error-code

Use std::error_code
Merge branch 'master' into typed-log