Moved jquery.inputAutoExpand module from WikibaseLib extension

Also moved tests into new test module.

Change-Id: I21530780db401e8488d60a014161ab1629955780