Belatedly update coding style.
uimenu: bugfixes and additional helper functions
advanced_inv: remembers sorting and target setting across saves
uistate: saves persistent data to save/uistate.json
string_input_popup: line editing via arrows, optional persistent history backbuffer
* new arguments (str title, int width, str default, str description, str history_id, int maxwidth)
* if unset, max_width = width, or 1024 if width is unset / 0
* ^U clears line
* up arrow pulls up history if history_id is provided
* support for larger block of descriptive text above input

list_items: history for filters persists across saves
uimenu.title sets minimum width
string_input_popup: hitting 'd' in history menu deletes history
uistate.save: only save <= 25 history entries per category
Fix manual merge error
item inscription: enable input history, split description of note
from actual note
inscribe: string_format && constage
Enable input history for graffiti
Merge branch 'master' of https://github.com/NaturesWitness/Cataclysm-DDA
fix conflicts: Merge commit 'f9073b9' into readline_ish_and_more

Conflicts:
	game.cpp
	iuse.cpp
sync / fix conflicts
Merge branch 'master' of https://github.com/NaturesWitness/Cataclysm-DDA
New vehicle RV take two

While looking through the pull requests, saw there was a pull for an RV
that seemed kinda abandoned #2053 .  It looked like a really cool idea,
just needed to be finished, the design was based on original Cataclysm
and didn't work in DDA.  Seeing as there had been no activity in two
weeks, I thiugh I'd try and complete it.  So far I think I have the
design in veh_typedef.cpp fixed (bunch of misc. errors), but I'm not
sure how to add this to spawn lists.  Anyone know how vehicle spawns
work?

PS - I know this isn't my idea, it's just no one answered my comments on
the original pull and this is too cool to just let die.  If I should
have made a pull off the original request or whatever please tell me and
I'll take this down.  I don't want it to seem like I'm stealing people's
work.
Fix unknown characters in diagram
Alter mfb() to cast as unsigned long instead of signed
No rarity.
No typos.