Fix warning: redefinition of 'HAS_STDINT_H'

Signed-off-by: Alexsander Akers <a2@pandamonia.us>
Fix implementation of memrchr

Signed-off-by: Alexsander Akers <a2@pandamonia.us>

  + Non-author changes to origial patch:
  * Trailing whitespace deleted.
Externalize 'fdEventNum'

Signed-off-by: Alexsander Akers <a2@pandamonia.us>
Allow POST /config? to actually work

The 303 redirect seems to rather kludgy in that it reuses the POST's
object etc. to generate the redirect response.  Additionally the handler
seems to abort needlessly because the object doesn't get marked as
'INPROGRESS' whenever the post body is available in full.

  + Non-author changes to origial patch:

  * Trailing whitespace deleted.