weak delegate & data source

Using ARC is safer to use weak for delegates and data sources to avoid EXC_BAD_ACCESS if any of them gets released
NSInteger instead of int - safer on 64bit
Merge pull request #1 from Produkt/bugfixes/weak_delegate_datasource

Bugfixes/weak delegate datasource