Implement net, important and warning boxes

They work for htmlsep and pdf outputs. ebook outputs remain to be done.