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.
More CMakeLists.txt changes

Summary:
I added a function that adds all libdir/* to  CMAKE_PREFIX_PATH :

further there where two places where if(MSVC) else (mingq) where defined after each other. I moved those into one place.
The things common to MSVC and mingw are now blow the special code as we set libdir and such things depending on compiler.

Besides find_package() working and some cleanups there should be no functional changes

Reviewers: dingto

Reviewed By: dingto

Differential Revision: http://developer.blender.org/D127
Dupliverts: avoid calculating normals if not used
Fix for converting unfilled 3d text into a mesh
Fix for tooltip right side having zero offset
UI: Resolve T37917, disable tooltip scaling (zoomout only)
Fix for crash when no args where given with -o, -x command line args

Patch D123 from djnz (Masakazu Ito)
BMesh API: make simple, low level functions inline
BMesh API: optimize BM_edge_exists().
Syntax correction for gpu docs, D124
Fix compile error on 32 bits linux / windows, wireframe modifier needs padding.

Thanks to Scott Petrovic and Jia Wang for submitting fixes.

Differential Revision: http://developer.blender.org/D126
Differential Revision: http://developer.blender.org/D130
Fix T37929: inherit scale for dupli faces was not shown greyed out when it should be.
Make makesdna capable of detecting 32bit alignment issues on 64bit platform

Summary: Just some extra comparison between native and 32bit structure length was needed.

Reviewers: brecht, campbellbarton

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D131
CMake: attempt to fix Boost detection on Fedora 20, which omits -mt.
Move python threading stuff to own file in bf_python_ext

This way blender player can easily use BPY_thread_save/restore.
Not so much important for master branch, but crucial to solve
linking issues in threaded depsgraph branch.