Macadamian/titanium_mobile — pull request #133 by dlifshitz-maca (2012-08-14 21:23:17+00:00)
Title: (Partial) TIMOB-9543: BlackBerry: Implement BufferStream

Reviewer: Harut

```
[Issues Fixed]
(Partial) TIMOB-9543: BlackBerry: Implement BufferStream
(Partial) TIMOB-10257: BlackBerry: Implement Titanium.IOStream

[Added]
TiBufferStreamObject.cpp
TiBufferStreamObject.h
TiIOStreamObject.cpp
TiIOStreamObject.h
TiStreamObject.cpp
TiStreamObject.h

[Changes]
TiTitaniumObject.cpp
- function onCreateStaticMembers
- add TiBufferStreamObject and TiStreamObject

bootstrap.js
- add temporary code to show how to add a function to the API using JavaScript

[Tests]
Test 1: Test new JavaScript function
var bs = Ti.Stream.createStream();
bs.demoFunc();

Expected: Should print the following:
[DEBUG]:demoFunc is being run
```