Introduce a Buffer class and use it to replace custom API definitions for RenderCapture and xbmcvfs.File.
[cosmetic] remove commented out code.
The RenderCapture::getImage now returns a buffer that's ready to read from.
rename the current 'read' method to 'readBytes' and use it to implement a 'read' method that returns a string in order to preserve bw compatibility.
droid: fix loading libs from outside of our apk
Merge pull request #2411 from ulion/fix_ios_launch_crash_when_built_with_xcode4

[IOS] Fix crash when launch item for play, if it built with xcode 4.
Merge pull request #2356 from ulion/url_protocol_options_easy_method

Add easy methods for url protocol options
change the write back to a bool for bw compatiblity with the incorrect 12.0 api.
minor fix to the string length arithmetic.
Merge pull request #2359 from jimfcarroll/buffer

Addon binary reading and writing
return the correct boolean value.
minor change and clarification to the File.write return value.
Switch ftp to use protocol options, rather than url options.