Expert explains the surprising legal pitfalls that could turn your shed into a headache.