Fix T37903: Operator log serialization broken for sets.

Was a mistake in rB9d6f05ed style edits (TRUE became false ;) ).
Cleanup: Code and style cleanup for Cycles curve export code.
Fix T37907: Crash when change screen layout to "Motion Tracking"

Was a bug in recent change from my own.

Also fixed cache line being displayed twice.
Fix T37906: Adding force field settings to boids gives hard crash

Was a regression since fix for another bug T37189.
Support units in modal numinput

Summary:
This completly changes the way modal numinput is handled. Now, edited expression is a string, which then gets unit- and py-evaluated to get a float value.

We gain many power and flexibility, but lose a few "shortcuts" like '-' to negate, or '/' to inverse (if they are really needed, we still can add them with modifiers, like e.g. ctrl-/ or so).

Features:
- units (cm, ", deg, etc.).
- basic operations from python/BKE_unit (+, *, **, etc.), and math constants and functions (pi, sin, etc.).
- you can navigate in edited value (left/right key, ctrl to move by block) and insert/delete chars, e.g. to fix a typo without having to rewrite everything.
- you can go to next/previous value with (ctrl-)TAB key.
- As before, hitting backspace after having deleted all leading chars will first reset the edited value to init state, and on second press, the whole "modal numinput" editing will be cancelled, going back to usual transform with mouse.

Notes:
- Did not touch to how values are shown in header when modal numinput is not enabled (would do that in another commit), so this is still quite inconsistent.
- Added back radian support in BKE_unit.
- Added arcminute/arcsecond to BKE_unit.
(those unit changes affect all angle UI controls, btw, so you can now enter radians or longitude/latitude values when in degrees units).

Related to T37600.

Reviewers: brecht, campbellbarton, carter2422

Reviewed By: brecht, campbellbarton, carter2422
Thanks everybody!

Differential Revision: http://developer.blender.org/D61
Mesh Modifiers: refactor copying using a generic function
Fix for mesh deform modifier missing copy for flag.
EditMesh: wireframe tool, add offset and vgroup support (not used yet)
Modifier: New Wireframe Modifier

Based on patch originally by Thomas Beck,
uses options similar to solidify.
error in last commit, flag names.
error in last commit, missing normal update.
error in recent commit (this is getting ridiculous),
faces were flipping the wrong way
Fix for extrude poll functions not checking active object
Fix T37910: maya key configuration not working after recent changes.
Style Cleanup: remove preprocessor indentation (updated wiki style guide too)
Code Cleanup: de-duplicate constraint checks with armature join
Add ItemDestroyable to the cache limitor

This callback is used when cache limiter needs to remove
some cached objects when running out of limit.

From blender side it's used to keep painted images always
in memory.

This fixes issue when painted images were removing from
the memory after image cache rewrite.
Fix T37898: blenderplayer painfully slow in recent builds

Issue was caused by recent image cache rewrite and root of
the issue goes to the fact that blender player doesn't
initialize cache limiter and it uses 32meg of memory only.

This leads to infinite image loading/freeing.

For now disabled cache limiter in game engine, this brings
back old behavior.

In theory we might be smarter here, but better caching
policy is to be discussed.
Code cleanup / Cycles: Remove unused interpolation code for hair triangles, we only support cardinal curves.
Code cleanup / Cycles: Remove CUDA check (we don't support sm_1x anymore) and unused hair flag.