Fix embedded resources with `async : false`

Added support to use `async` option to decide whether the related resource is embedded or not. Closes #34