Fixed bad NamedScopeReference.Dispose(bool) implementation

The function would call Dispose into the scope object during a gargabe
collection, which it shouldn't.

Signed-off-by: Peter Strøiman <peter.stroeiman@falck.dk>
Merge pull request #5 from PeteProgrammer/master

Fixed NamedScopeReference.Dispose(bool)