Adding Android support

While working on a project for TomTom I had to compile Redis for Android. Some changes were needed, mostly to config.h. The only big change: pthread_cancel is not supported.