Add get_log for iOS device and simulators, fix error with grunt task for...

Squashed version of: #1331