Fixed error with preg_position
Fix query examples on Readme.md and MacOSx install tip for MAMP

queries needed double \ to escape. The error may have been due to
markdown's escaping \\ into \.
also added NOT NULL condition to reduce possible confusion that may
cause users to think there is an error in the library.
without CONVERT, PREG_REPLACE returns a binary result, Mysql Workbench
displays as if the results are empty, which is highly confusing.
added doc files
fixed warnings for some c printfs
*	modified:   Makefile.am
*	modified:   configure.ac
*	modified:   doc/Makefile.am
*	new file:   doc/index.php.in
*	new file:   doc/mainpage.c
*	modified:   ghfcns.c
*	modified:   ghfcns.h
Merge branch 'master' of https://github.com/dkhenry/lib_mysqludf_preg into dev-1.2
Merge branch 'master' of https://github.com/serkanserttop/lib_mysqludf_preg into dev-1.2
Merge branch 'raw-dev-1.1.2' into dev-1.2
added doc file
*	new file:   index.html
changed to md from html
*	deleted:    index.html
*	new file:   index.md
*	renamed:    index.md -> README.md
just put index.html back for now until figure out how to do this correclty
*	deleted:    README.md
*	new file:   index.html
reconfigure caused these changes. These will need special handling
*	modified:   ../Makefile.in
*	modified:   ../configure
*	modified:   Makefile.in
*	modified:   ../test/Makefile.in
merged in changes from Travers Carter as attached to ticket at http://mysqludf.lighthouseapp.com/projects/71824/tickets/1-possible-bug#ticket-1-1

The merge and conflict resolution was done on a private repo. The conflicts occurred due to the poor release of 1.1 and the fact that this patch was for 1.0.1.

Also, there were some autoconf things that needed to be done to get these improvements to work on OSX.

*	modified:   INSTALL
*	modified:   Makefile.am
*	modified:   Makefile.in
*	modified:   config.h.in
*	new file:   config/ax_pthread.m4
*	modified:   configure
*	modified:   configure.ac
*	modified:   doc/Makefile.in
*	modified:   from_php.c
*	modified:   ghmysql.c
*	modified:   ghmysql.h
*	modified:   lib_mysqludf_preg_capture.c
*	modified:   lib_mysqludf_preg_check.c
*	modified:   lib_mysqludf_preg_info.c
*	modified:   lib_mysqludf_preg_position.c
*	modified:   lib_mysqludf_preg_replace.c
*	modified:   lib_mysqludf_preg_rlike.c
*	modified:   preg.c
*	modified:   preg.h
*	modified:   test/Makefile.in
*
* Untracked files:
*   (use "git add <file>..." to include in what will be committed)
add space in between timestamp and log message
*	modified:   ghmysql.c
get stacksize from mysql variable if not available from thread info on OS
*	modified:   Makefile.am
*	modified:   Makefile.in
*	modified:   preg.c
changed to MIT License
*	modified:   COPYING
*	modified:   README.md
*	modified:   doc/mainpage.c
*	modified:   ghmysql.c
*	modified:   ghmysql.h
*	modified:   lib_mysqludf_preg_capture.c
*	modified:   lib_mysqludf_preg_check.c
*	modified:   lib_mysqludf_preg_info.c
*	modified:   lib_mysqludf_preg_position.c
*	modified:   lib_mysqludf_preg_replace.c
*	modified:   lib_mysqludf_preg_rlike.c
*	modified:   preg.c
*	modified:   preg.h
*
*	new file:   LICENSE
*	modified:   README.md
*	modified:   ChangeLog
*	new file:   ManualTests.txt
*	modified:   README.md
added files to gitignore
moved non-mysql dependent functions from preg.c and ghmysql.c into pregUtils.c