(PUP-1100) Create_resource syntax error message spec test

This commit adds a check for the create resource syntax error message.
If there is a syntax error, the error given by puppet master is unclear.
This commits adds a test to check that the error message is correct and
makes sense.

This only happens when the resources are auto imported, which is why I
use a fixture directory.