Improved mex.cmake macros get_mex_option and get_mex_arguments
* fixed = sign issue: macros weren't doing the right thing when the options or arguments lines contained a second equals sign.
* fixed todos: the macros now use CMake string parsing commands (no cut, grep or head).
* made calls to the macros faster by only calling mex -v once.
Merge pull request #1 from tkoolen/fix-mex-cmake

Improved mex.cmake macros get_mex_option and get_mex_arguments