Get compiling in OSX 10.8 w/ LLVM 4.2
Add factory methods for refs
Add XCode example
Increment ref counter since we're manually cleaning up references in ::close

Fixes EXC_BAD_ACCESS on exit
Can't get it to work with h264 mov

Use http source to avoid having to check in a video