Make notes section appear only when the problem has notes.

Add a field HasNotes to ProblemDescription, makes default statement template add them conditionally.

I tried to do it by just modifying the tempalte using the first_ and last_ variables from jmte. They randomly fail and do unexpcted stuff depending on then umber of elements in the list. It is very bugged.