typo fix, unused variable cleanup, use type in ftp_send_type, etc

ffmpeg.c "and" at the end and start of the line
motion.c bad spelling
jpegutils.c hsf was set but not used
netcam_ftp.c type was converted to upper case but not used,
the function says it takes an I or A, as since only I is
passed the end result is the same
webhttpd.c consolidate the timeout to the top of the file as I needed
to change it for testing
set motion capture thread running in the main thread

I identified this while debugging, the thread was created, but hadn't
yet set its state to running before the main thread check the running
variable and started another thread for the same device.  That
resulted in a crash.
count webcontrol as a thread to avoid a crash

On a SIGHUP restart the main thread waits to restart until all worker
threads are finished executing, except webcontrol wasn't included.
If it was still running (such as reading a web request), it would
have a dangling context pointer after cnt_list was freed leading to a
crash.  This counts that thread in the running threads, as a
termination webcontrol_finish variable to terminate it indepdent of
the device thread, and creates a webcontrol_running to identify when
it is running.
accept a width specifier to mystrftime

Allow the user to specify field widths to keep the strings from
jumping around as the width changes.  This makes the values easier
to read.
add power_line_frequency configuration item

The USB webcam I have defaults to the wrong setting causing visible
flickering degrading the image quality.  This allows setting the
value to any of the currently available options or -1 to by default
not modify the value.
force the version number for autoconf

Otherwise Debian's autoreconf picks autoconf2.13 and the configure
script generated doesn't run.  I don't know what the correct
version is, and put 2.40 to be something between 2.13 and 2.50.
allow compiling ffmpeg on non x86 platforms

The assembly instruction emms is only available on the x86 platform and given
the existing __SSE_MATH__ check it is not required when the compiler is using
sse for floating point math.  Add a check to only enable when not using
__SSE_MATH__ and when mmx is available with __pentium_mmx__ In my case the
instruction doesn't compile on arm.
motion_3.2.12-3.2.dsc debian files
disable most Debian patches, they are already applied.
add changelog for this version
disable optimization disables

Not that it is going to help on the arm, but why disable these?
adding motion upstart
removed patches, modifying location for upstart job.  modified rules, to
deploy a motion-dist.conf instead of motion.conf.  this will be painful
for upgrading later.
updated git ignores to clean up status
removed configure
Updated configure.in cleaning up trailing whitespace and updated the
paths to look in x86_64 as well as other locations so that it will find
libraries in the appropriate location
Added SQLlite devel to the requirements for building.  Added handler in
rules to force dependencies to be installed before execution configure