API Docs: typos
Fix T41328: Saving a copy changes lib paths
Fix T41222 Blender gives weird output when baking (4096*4096) resolution on GPU

In collaboration with Sergey Sharybin.

Also thanks to Wolfgang Faehnle (mib2berlin) for help testing the
solutions.

Reviewers: sergey

Differential Revision: https://developer.blender.org/D690
Add RNA access to packed libraries
Fix T41062: "copy to selected" doens't work for all attributes.

The issue was that some properties are no direct children of the struct we support in 'copy to selected'
(RNA_Sequence in this case). Since we can't use the ID of sequences here (it's the scene, while we need
a sequence level of control), we had to add a new API helper to RNA path, which takes a RNA type
and return a path relative to the closest ancester of that type.

This way, we get a path from the RNA_Sequence, and can easily apply it to all other valid sequences
to copy the property.

Review, suggestions and edits by Campbell Barton, thanks!
OSX/cmake: force LLVM_STATIC ON, to fix linking issues
OSX/cmake: move last commited line to a better place
Correct change to dupli-drawing

Need exceptions so dupli-frames objects draw in render-only mode.
Spelling
Remove SVN references
Remove confusing word "faculative" from comments

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D711
Fix T41318: API change in OSL, I see no other cases but there might be
Fix for out of bounds write while dragging
OSX/cmake: allow for llvm dynamic builds too, but prefer static
OSX/clang: Fix T41123, crashing osl when optimization level > O0 is used for osl_shaders.cpp
Add some missng casts to the size_t
Correct Python exceptions

T35358 by Codemanx
Fix T41343, hard to remove group from objects.

Added a small menu with a few helper oerators next to each group panel:

* Remove group from all objects
* Select objects in group

More could be added possibly in the future.

Thanks to Campbell for the advice here.
Cleanup: mostly move together main area init/draw/handler callback, and some generic cleanup (tabs, comments...).
Fix T41323: Sequencer: video window taking all the place when switching to split view.

Issue is that, when we switch from full preview view to combined view, preview area has
its `sizey` set to use all available height, which leaves nothing for poor main area.

For now, make checks when switching mode to combined one, so that both areas have
resonable `sizey` values. Not perfect, but works.