Handle empty fields gracefully

Currently the `|bootstrap` templatetag causes an exception to be fired
if used on an undefined form element. I've changed it to just return
None if the element is empty.