Added layoutMode method, extra option for images

Added layoutMode helper function that marks paragraph with their order
and helps with layout. Also added an extra option parameter for images
that allows them to strip full width á la Kansas City.