SC_Rwlock implementation, SC_Lwcond draft

Other small changes
Bugs fixed, lwcond implementation

Modules: mutex added
Small changes

SC_FUNC changes (done by DH)
PPUInterpreter changes (copied from main, done by elisha464)
Log() using fixed
Small changes
Fixed conflicts
Afterfix
Merge pull request #59 from Nekotekina/master

New sync primitives