Ryan Martin barricaded himself in a Kilwinning house during a tense stand-off with firearms officers and negotiators as police tried to reach a three-year-old inside.