Add FreeBSD platform makefile

Add platform-freebsd.mk makefile to allow building on FreeBSD.

OpenH264 builds and runs successfully on FreeBSD 9.2-RELEASE amd64, with both
the gcc and clang compilers.

Note that building i386 binaries with the native toolchain using the -m32 flag
on amd64 FreeBSD is unsupported and will not work, so ENABLE64BIT should always
be set to Yes when compiling on a FreeBSD amd64 system.
Merge pull request #54 from rmuch/freebsd-build

Add FreeBSD platform makefile
Fixed warnings found by clang.  Removed some trailing whitespace.
Merge remote-tracking branch 'upstream/master' into cosmetic
Use $(AR) instead of explicitly calling 'ar'

This simplifies overriding the command used, e.g. for cross
compilation.
Don't check for scene changes on forced IDR frames

For the first encoded frame, is bEncCurFrmAsIdrFlag true
while bIdrPeriodFlag is false.

Previously, the scene detection code unnecessarily checked for
a scene change in the first encoded frame (where the reference
frame was an uninitialized frame), triggering valgrind warnings
about using uninitialized memory.
Fix warning and turn on -Werror for Travis
Move -Werror to platform file.  Also, %zu can't be used on Windows.
Use %llu instead to print a size_t.
Cast pointer math to long long int
Merge pull request #59 from ethanhugg/cosmetic

Fixed warnings found by clang.  Removed some trailing whitespace.
Turn on -Werror for OSX builds
Merge pull request #66 from mstorsjo/valgrind

Don't check for scene changes on forced IDR frames
Replace some fancy stuff with simple function
memset not required as struct is already initialized to 0.

Moreover, memset causes loss of sDecParam.sVideoProperty.size
that was set previously.
Fix typo which ignored dec options file in dec testapp

Options file was not being taken because it was wrongly being taken as output
file for decoder.
Improve command line arguments handling in dec testapp

Problems fixed:
1. No longer segfaults if an option is specified without an accompanying argument.

2. Wrongly incrementing i by 3 instead of by 2 while parsing command line options.
Updated readme and CmdLineExamples to point to new make system.
Fix typo in CmdLineExamples.sh
typo correction