Few minor code improvements
Added the ability to override preset, tune, profile and few other improvements
Correctly write SPS & PPS from x264 encoder headers
Merge remote-tracking branch 'origin/master' into video

Conflicts:
	configure.ac
	src/CMakeLists.txt
Remove unnessecary SPS & PPS writing code
Merge branch 'video' into iconnor

Conflicts:
	src/zm_monitor.h