From swirling spiral staircases to a timber library concealing a fold-down bed, a new book explores the creative ways architects design their own houses