Merge pull request #1 from JanX2/master

Fixes and improvements
Merge pull request #2 from JanX2/master

Backporting to non-ARC
Updates base SDK.
Updates gitignore.
Code cleanup.
Adds xcuserstate to gitignore.
Fix to handle situations where the SRT file's text encoding is ambiguous.
Fixes build.
Converts tests to use XCTest.
Removes unused date formatter.
Replaces number with constant.
Project updated by Xcode 5.
Now requires Xcode 5 and deploys back to 10.8.
Cleanup.
Improving “-initWithFile:”.