Support building with new libavcodec versions.

CODEC_ID_* has been replaced with AV_CODEC_ID_* upstream.
Ability to skip frames in motion detection.
The reason for this is to make it possible to reduce CPU-load if split-second motion detection is not required.
Move initializer for last_motion_score to avoid compiler warning "...zones will be initialized after ... last_motion_score ... when initialized here"
Fix reload loop on switching skins
Fix window sizes and input field sizes for flat skin
fix sql error which prevents remote login from working
Update zoneminder.cmake.OS13.spec

Correct requires for cpanm and make as they should be post
change cpanm call to be full path name
correct permissions on events, images and temp
Update CMakeLists.txt

Adds named variables to ease change in the future
Update README.OpenSuse

Additional info on amending database if using version which has /tmp as work space
Remove apt-get upgrade

Convention is to avoid this if not needed, as there is no init 
system and some packages have to be held back. upgrade will 
sometimes break due to the state of ubuntu:latest

To see the official issue: dotcloud/docker#1724
To see workarounds: https://github.com/racker/docker-ubuntu-with-updates/blob/master/precise/Dockerfile
Remove Subversion from prerequesite lists
Merge pull request #390 from hamiltont/patch-1

Remove apt-get upgrade from Dockerfile
Merge pull request #393 from hamiltont/patch-4

Remove Subversion from prerequesite lists
Merge pull request #380 from m-bene/switchLayout

Fix reload loop on switching skins
Merge pull request #385 from maciekczwa/master

fix sql error which prevents remote login from working
Merge pull request #381 from m-bene/flatLayout2

Fix window sizes and input field sizes for flat skin
Remove SVN install from Travis CI
Merge pull request #395 from hamiltont/patch-6

Remove SVN install from Travis CI
Merge pull request #325 from elenril/master

Support building with new libavcodec versions.
Merge remote-tracking branch 'Sune1337/motion/FrameSkip'

Conflicts:
	db/zm_update-1.27.1.sql
	web/lang/nl_nl.php