Add ScopeGuard utility
[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] ScopeGuard is utility class that allows to register a piece
of code to be executed when control exits a scope in which ScopeGuard
object has been created.
Implementation based on:
* Scope guard pointer from Loki library
http://loki-lib.cvs.sourceforge.net/loki-lib/loki/include/loki/ScopeGuard.h?view=markup
* Scope guard implementation in folly library
https://github.com/facebook/folly/blob/master/folly/ScopeGuard.h
* Lecture "Systematic Error Handling in C++" conducted by Andrei Alexandrescu
http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C
[Verification]
1. Build repository
2. Run command
`wrt-commons-tests-core --output=text --regexp='ScopeGuard*'`
[Notes]
It will be utilized e.g. in wrt-installer for guarding detaching from
WRT DB.
Change-Id: I13cdd15b9c9c83a927faeee658d88340052ef66d