Fix building on OpenBSD due to lack of sys/ucontext.h header.
Patch by brad@comstyle.com. This closes ticket:3917.
More specific matching.
Build a local, up to date, copy of the docs if possible.
qtscript: Fix typos in getLabel() and addLabel(). Closes ticket:3920.
Do not assert if object label points to does not exist. Instead, return null.
Hopefully fix builds on various platforms other than mine.
Fix build warning
qtscript: Add parameter checking for buildings that do not exist. Fix one such error in semperfi.js.
Merge branch 'bugfixes', remote-tracking branch 'origin'

Conflicts:
	data/mp/multiplay/skirmish/semperfi.js
	lib/widget/widget.cpp
	src/qtscriptfuncs.cpp
Change research stats format to .ini
Push four files that I forgot to add in previous commit.