Fix issue #6 (semaphore max_count).

This PR fixes issue #6 . I removed the assertion about releasing a semaphore more than it's initial value and changed a test to reflect this behaviour.