Semaphore: keep max value as member variable
Semaphore: compare current value with member variable maxValue_ (instead
of getMaxValue()) in Semaphore::post()
Semaphore: allow specifying max value of semaphore in constructor
Semaphore: remove static Semaphore::getMaxValue()
Semaphore: use "unsigned int" as type for value
Semaphore: truncate value to maxValue in constructor
test: add another phase to SemaphoreOperationsTestCase which tests
correction of invalid initialization and overflow detection of semaphore
with explicit max value