First class RtThread

is a wrapper class for working with pthread library.
Added classes to wrap mutex and a scopedLock class