Implement begin and end methods on the MatchData

Hi @mudge 

Here's the begin() and end() implementation for the MatchData. Let me know if it's OK!

Jason
We can also use Ruby's own `FIXNUM_P` and `SYMBOL_P` macros to check types.