Curve: Remove assert in BKE_curve_bevelList_make

Failed on any cyclic poly line.
Fix for rna2xml

- follow references to Bone, Sequence, Node (non ID types) by name only.
  was causing infinite recursion.
- add support to skip individual class properties.

This can now write an entire blend-file.
WM: Add utility wmOrtho2_*** funcs

Currently there are inconsistencies with pixel alignment.
but this commit has no functional changes.

- wmOrtho2_region_ui for UI/Text.
- wmOrtho2_region_pixelspace for 2D drawing.
- wmOrtho2_pixelspace - when the region isn't used.
Partial fix for T41749

Tool-tips and header-text used a different pixel alignment from the rest of the UI.
This causes blurry text with multi-sample with NVidia.

Other text still needs the issue resolved (View3d info for eg)
Partial fix T41749

2d & 3d cached text now draws pixel aligned now.
Fix for mesh-inset modifying hidden faces
Cancel edge-rip macro if no changes are made.
UI: Disable operator search menu setting an unset state key key-input
Fix T41112: Rotate manipulator (Trackball) + release confirm not working?

Usual same issue (unset property != set property to default value).

Review and minor edits by mont29 (Bastien Montagne).
Fix two bugs with searchbox UI items.

First one, reported by Sergey, was searchbox not closing when validating it (enter or LMB click)
without any active item (we need to enable escapecancel here, to close menu too).

Second one was SEARCH_MENU_UNLINK variant not unlinking at validation when no active item.

Thanks a bunch to Campbell for help here!
Fix T41767: Memory free problem when console area copy fail.

Nice little memleak!

Patch by reporter (randon (Dun Liang)) with minor own cleanup, thanks!
Fix crash in active_paint_texture_index callback
Text3D: fixes to selection

- clamp selection on entering editmode (Python may have changed).
- BKE_vfont_select_get no longer succeeds with an empty selection
  this caused many operators to go ahead and operate on zero size array.
Text3d: assert for <0 len text

also add operator to test blacklist
Fix crash in project-from view without a brush or active object
Fix crash in BLI_kdtree_range_search

Called memcpy with a NULL pointer,
causing the following NULL check to get optimized away.
Fix T41778: Crash on animate boids xith a goal

No need to copy/restore entire object struct (just to read location)
Freestyle: Fix for missing quality control on line rendering in Cycles.

Freestyle was using the default Cycles rendering settings (e.g., the number
of samples) and users could not change them.  Now all render parameters
(except for film_transparent) are inherited for Freestyle stroke rendering.

Problem report by Danny Grimm on Facebook, thanks!
Fix non-deterministic editmesh normal orientations

- selecting a boundary edge would randomly point in/outside the face (now point away).
- selecting 3 verts would use the first selected edge as the tangent (now use longest).
- selecting 1 vert betweem edges, uses the edges to define the tangent.
Fix T41784, Re-enabling transparent shadows in Cycles doesn't work correctly