Whitespace trim for dashboard names

Dashboard names now automatically remove all leading and trailing
whitespace in the name before submitting.