MagicalRecord Port

Started to port some very useful methods from MagicalRecord to Swift