Added NSRegularExpression

- Added NSRegularExpression and NSTextCheckingResult classes.
- Added Cocoa.NSIntegerMax and Cocoa.NSNotFound methods as
pseudo-constants.
- Replaced some deprecated calls in case they are removed by a newer
version of Xojo.
- Added NSError.Operator_Convert to a MacOSError so you can raise new
NSError( id, true ).
Removed or added pragmas for unused variables and parameters
Corrected Windows/Linux compile issue