[MATLAB] changes to Makefiles for Examples and test-suite

- use -output for mex as opposed to -o as R2014a doesn't support -o anymore
- for running, insert a semi-column after the "try" command to avoid a matlab warning
Merge pull request #5 from jaeandersson/matlab

Fix to handing of 'ans' output
[MATLAB] minor changes in configure related to mex and mexext

- find them also in the path
- if mextext is not found, do not configure matlab support (in the previous
version, we still tried to run it, resulting in a confusing error message)
[MATLAB] fixed autodoc problem for static methods

the autodoc was emitted at the start of the .m file for the class, as opposed to
at the function definition.
Merge branch 'matlab' of github.com:KrisThielemans/swig into matlab

Conflicts:
	Examples/Makefile.in