Fix T37301: Command line render gives seg fault 11 on OS X

Issue was caused by wm->defaultconf being NULL when in
background mode which made keymap modifications from a
script crash.

Reviewed by Brecht, thanks!
Maintenance: Shebang lines fix for some python scripts
Fix T37468: image empties now use no interpolation when mipmaps are disabled.

Image empties don't actually support mipmaps right now, but the user preference
doubles as a way to disable any kind of interpolating in texture filter and just
show nearest neighbour filter, so for this is a bit more consistent.
Fix T37289: ID User decrement error for Shapes on Bones when playing in BGE

GE was copying the pose channels without increasing user counter for a
custom bone shape object. Freeing copied pose will for give decrement
errors.

The same increment issue seems to happen in BKE_pose_copy_data, which
is also solved now.
Fix T37488: Crash with --debug reading userpref.blend

Issue was in fact caused by wrong DNA storage, which
apparently was considering unsigned long as just 4
bytes here.

Now use uint64_t to be sure timestamp does fit into
storage on all the platforms.

Thanks Campbell for help looking in the issue.
Compile Fix: fix for gcc4.8 with bmesh header.
Cmake: after lot of times commit checking missed including collada, set on by default now
Fix T37511: toggle-drag feature was crashing with menu items.
Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.
Fix T37495: Duplis weren't handling negative scaled objects properly.
Fix T37040: Removing vehicles in BGE causes a crash

The vehicle constraint is now properly removed if bge.constraints.removeConstraint()
is used or the object is deleted. This also fixes a memory leak with the
vehicle wrapper.
Fix T37336: Toggle selecting a pose-bone from object mode would de-select all others.
Fix T37088: Crash with eyedropper (shortcut E)
Fix T36998: Bisect would operate on unselected vertices.
Fix for running datablock eyedropper outside of a button.
Fix T36756: Use Frame Rate option toolip was unclear about which FPS value to respect
Fix T37171: Camera parented to a bone doesn't move with the bone, unless another object is parented too

Armatures used to check if any of their meshes were culled to see if they needed
to be updated. However, this meant armatures with no meshes would never update,
since non-mesh objects are always considered culled. Instead, if a non-culled
child was not found, we now check to see if the armature contained only
non-mesh objects. If this is the case, always update the armature. If this
becomes a problem, we can look into being able to cull non-mesh objects.
CMake: only enable opencollada by default on OS X and Windows, consistent with scons.
Fix T37472: crash when packing UV islands.
Fix T37519: Screw Modifier ignores material setup

This was more a missing feature then a bug, the modifier never handled
existing faces however with ngons its possible to get more useful
results. Also order edges from the faces (if available),
gives control over the face-winding-direction.