Refs #10348 Tidy up HintingLineEdit

* Reorder and rename some methods for clarity
* Improve commenting
Refs #10348 Add copyright headers and doxygen comments