use "use_inline_resources" only if chef11 and superior
use defined? instead of version checking
Merge pull request #25 from Youscribe/chef10_use

[COOK-3087] use "use_inline_resources" only if chef11 and superior