slicetype: fill in missing detail from slicetypeDecide()

This moves slicetypeDecide() to make the file more readable. It also adds stubs
for features that we do not support yet including weightp, B-pyramid, intra
refresh, user-supplied slice types, etc
common: sanity check some lookahead settings