fixed some warnings, added missing framework import in header - using ios7 apis when applicable for string size