Squashed 'VFLib/' changes from d2f3643..75b4e5f

75b4e5f Add Adapter for SampleSource
d488176 Add AudioSourceAdapter for SampleSource
6af25e3 Update to changed juce::Array interface
3cb0b50 Fix compile error
eef0585 Fix compile error in automatic binds
b5318e7 Update copyright notice
b2945de Move Metronome to VFLib
9443e73 Remove isBeingReferenced() from ConcurrentObject
2a2b46a Change parameter types for automatic binds
7a3df1a Merge commit 'daf925d43ff75d852bfab73e30554b4a032ef16b'
fd60f36 Add compositing layer operations
ee25934 Add Background and Layer contexts

git-subtree-dir: VFLib
git-subtree-split: 75b4e5f61c8ecc5087721fc343603ec74a2b7faa
Merge commit '2aea58244639b306684675ae6719dad94e993b73'

Conflicts:
	VFLib/Builds/VisualStudio2010/VFLib.vcxproj.filters
Squashed 'JUCE/' changes from 3974e09..601f729

601f729 OSX zooming window fix.
8b20808 Introjucer: icns file format fix.
74078ee Introjucer: support for larger OSX icon sizes.
66cd90e Added some assertions to ValueTree
c586e91 ValueTree constness tweak.
391e994 Added a method Desktop::getMouseWheelMoveCounter(), and made the existing getMouseButtonClickCounter() method non-static.
d78b10e Introjucer: code indent tweaks.
7ef8246 Introjucer: restricted font list to fixed-width fonts.
2c3adef Fixed a mac windowing bug.
fb5bcb5 Removed a confusing Font constructor that took a style name but could be mistakenly called with a typeface name.
dc9e0cb Added some new versions of Graphics::drawText and drawFittedText that take Rectangle parameters.
006e324 Moved the Graphics::drawBevel() method into LookAndFeel. Fixed an introjucer caret colour bug.
1b2b1a1 Introjucer: colour scheme presets and aesthetic stuff.
b1d73f2 Minor internal refactoring and clean-ups.
1f2c819 Introjucer: Fix for MSVC optimisation levels.
5a69cc6 Internal tidying-up.
4718026 OSX keycode character fix.
396a5d9 Introjucer: nicer scrollbars.
55dc84b Minor fixes for AudioPluginFormatManager, PluginListComponent.
baecac8 Introjucer: tweaked document focus behaviour.
2329cfa Made the KeyPress (int) constructor explicit, and tightened up the way keypresses are handled by various classes.
cd5893d Removed the Scrollbar's setButtonVisibility method, and instead added LookAndFeel::areScrollbarButtonsVisible()
65f147b Introjucer: Visual studio WPO and debug option fixes.
225040e Improved drop-shadow code.
8d28368 Fixed a mouse-position bug in win32 when dragging windows.
26c0024 Fix for MixerAudioSource.
515bfe9 Introjucer: new tab panel look and feel.
9fc29da More tabbed component work.
edb1114 Introjucer: more colour scheme stuff.
b6965d2 New method: ValueTree::copyPropertiesFrom()
df729be Cleaned-up class inheritance visibilities and encapsulation for some internal classes.
246cb94 AudioPluginFormatManager is no longer a singleton. Singletons are bad: don't do it, kids.
9af7f2f Fixed a dependency issue in the graphics module.
b8f557b Tab button fix and minor clean-ups.
af9e993 Fixed a typo.
3ddc6dd New class: DropShadow, and a complete refactoring of the way shadows are rendered. The DropShadowEffect and DropShadower classes now take a DropShadow object to describe their shadow parameters, instead of the raw numbers.
591ce2a Added TabBarButton::setExtraComponent() method to allow custom components to be inserted into tabs. This involved a big refactoring and clean-up of all the tab drawing methods in the LookAndFeel class. Also (slightly) cleaned up some of the crappy old code in the WidgetsDemo while I was adding a demo for this.
1e9e6cb New methods for Graphics, CallOutBox.
7afbc07 Version update.
eb47f3c Fix for MidiFile::readNextTrack()
502af08 Fixed a bug in Font::setUnderline().
8a586ad On OSX, made sure popup menus are dismissed when the main menu is opened.
7ce0bf1 Added callbacks JUCEApplication::suspended() and resumed() for iOS and Android.
9b323d9 Jucer: fix for some generated Drawable code.
6919e4e AudioUnit: moved an include to help with 64-bit compiling.
770b8a4 Introjucer: more colour scheme stuff.
deeab7f Minor tidying-up.
44e454f Introjucer: colours and refactoring.
6fe9e2d Minor clean-ups.
b95258c C++ syntax tokeniser fix.
3fdc8a2 New colour contrast method.
ecd91dc Introjucer: updated Android builds to work with the latest SDK.
5edf417 Minor fix in ValueTree.
f50b05b Introjucer threading fix.
70024ea Fix for RTAS compile error.
6f28207 AAX: plugin is now recognised and loaded by PT (but doesn't yet play correctly)
b20b5f9 Introjucer: fix for Xcode post-build script in audio plugin projects.
4253bac Removed some compiler warnings, fix for OSX file chooser modality.
c65c7dd Introjucer: misc internal refactoring.
1f2b26a Introjucer: refactored icons.
ceb5568 Fixes to deal with effect rendering in retina displays, e.g. drop-shadows, etc.
2fe73f6 Introjucer: added a flag to help with OSX retina displays.
8d92a49 RTAS/OpenGL fix (?)
25e7361 Refactored some TreeView key handling. Introjucer: now restores the last set of open documents for a project.
3d72789 A couple more Array::removeValue calls that I'd missed..
a866a9c Fixed a few Array::removeValue calls that I'd missed..
0475ced Introjucer: commands to move back/forwards through open docs.
39c9741 Added a CodeEditorComponent::State class.
591e89c Replaced the badly-named method Array::removeValue() with two new methods: removeFirstMatchingValue() and removeAllInstancesOf(). If you call the old method anywhere, you can just replace any calls with removeFirstMatchingValue(), which does the same job, but whose name makes it clear that not all instances of the value will be removed.
27f1901 Refactored Path::addBubble, BubbleMessageComponent and BubbleComponent classes to work better and avoid duplicated code.
fb29acf Introjucer: minor internal stuff.
2d441a6 Added an int64 operator<< to OutputStream.
9e3cd76 Introjucer: minor internal changes.
7a1c8f6 RTAS build fixes.
e875c65 Introjucer: some treeview refactoring.
4233f60 More MouseInputSource tweaks.
6758ce0 CodeEditorComponent improvements and TextEditor menu refactoring.
d3bb7fb Added line-numbering to the CodeEditorComponent.
f824e99 Introjucer: refactoring and addition of appearance settings window for editor colours + fonts.
7f74968 Added a new callback ValueTree::Listener::valueTreeRedirected()
46c327d Font::fromString() fix.
b6211f0 Added method: Font::withTypefaceStyle().
705de64 Fix for MouseInputSource.
17e59cf Introjucer: made sure the new project wizard creates an exporter for the current OS.
7d8d4b9 Fixed a juce_core dependency problem.
e04fba6 OpenGL threading fix.
0c68958 Tweaks to MouseInputSource.
7675897 Minor syntax tokeniser changes.
625395f Fix for Typeface::clearTypefaceCache()
d77418e openGL: added acceleration flags in win32.
b425172 Introjucer: refactored some settings classes, and added new icons for the treeviews.
100301e Added a CharacterFunctions method. Some refactoring in introjucer.
7f499ca Introjucer: refactored some filenames.
79ddd3a Introjucer: Allowed the root item in the files tree to be selected as a group.
50313a1 Fixed a positioning problem when dragging-and-dropping.
ead42bd Introjucer: Added an Xcode post-build script setting. Enlarged some of the settings page boxes, allowing multi-line text entry for some paths and preprocessor settings. Moved the modules list to its own tree-item.

git-subtree-dir: JUCE
git-subtree-split: 601f729bf756d109b7abec902a094b976e16f8b1
Merge commit 'fff2fba1f502e924e41954d9c996318bb81a496e'
Update for changed JUCE interface
Use normal blend mode for LayerContext
Use explicit ctor for ResizableLayout
Add controls for compositing demo
Refactor Background and Layer contexts
Use Background and Layer contexts
Implement BlendImage() and blend modes