Add static PatternMatch functions to Option<T>. Also add better null checking as well as updated test cases to remain at 100% code coverage.