create/6: allow setting the backing store type

The backing store specification is still ignored.
Check for NULL before calling function pointer

Simplify the code by checking if the struct lxc_container pointer is
NULL before calling the liblxc API wrapper.
Check the types passed to the port