Trim dek and title so we ignore any whitespace at the beginning/end.  Closes #564

Trim dek and title so we ignore any whitespace at the beginning/end.  Closes #564