handle undef filename in escape_filename
handle undef internal buttons on input form
handle new Subject dataobj with undef ID
Merge pull request #252 from QUTlib/20140725-handle-undefs

handle undef objects