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
Improved ThreadBase.
Improved Vertex Shader Decompiler.
fixed fragment decompiler
when adding a const, I added a check to see if it already exists
Small fixes
Small changes
Fixed conflicts
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
Afterfix
Merge pull request #59 from Nekotekina/master

New sync primitives
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
Merge pull request #60 from elisha464/master

fragmentDecompiler fix
Implemented vfsLocalDir & vfsDirBase.
Improved ThreadBase.
Minor fixes.
Fixed compilation errors.