Inline user custom CSS if it's defined.
Address comments
py3 fix
Merge pull request #5942 from jdfreder/i5655

nbconvert: Inline user custom CSS if it's defined.