Merge pull request #796 from huili2/new_seq_au_reorder

fix order of new AU and new Seq
Fix a bug in deblocking for neon 32 bit arm implementation
Fix the format string in a log message

The compiler warned about unknown conversion type and too many
arguments for the format.
Use the built-in define __linux__ instead of the manually set LINUX
Don't define MACOS and LINUX

Nothing within the library actually uses these defines for anything
any more.

If necessary, the built-in defines __APPLE__ and __linux__ can be
used instead of these manually added defines. This is similar to how
we use _WIN32 instead of manually defining WIN32.
    cleanup encoder console app
Merge pull request #821 from mstorsjo/fix-format-string

Fix the format string in a log message
Merge pull request #822 from mstorsjo/simplify-platform-defines

Don't manually define MACOS and LINUX, use built-in defines instead
Merge pull request #825 from ruil2/console_cleanup1

    cleanup encoder console app
clear active PS when only IDR meets
Merge pull request #826 from huili2/clear_active_ps

clear active PS when only IDR meets
Add a unit test for deblocking
fix a commit bug for console app
Merge pull request #830 from ruil2/console_bug

fix a commit bug for console app
Merge pull request #829 from dongzha/FixBugforDeblocking

Fix a bug in deblocking for neon 32 bit arm implementation for master
Merge pull request #823 from mstorsjo/deblock-unittest

Add a unit test for deblocking
Merge remote-tracking branch 'upstream/master' into travis.android