Added is_empty_or_whitespace method.
Added missing strack traces.
Authored by: crowbar27 2014-05-20
Parent: [r591]
Child: [r593]