Added support for B slice deblocking
Also less duplicated code in bs calculation
Merge pull request #4 from stseppo/deblocking_dev

Added support for B slice deblocking