Middlesex's Northwood FC edged out Essex's Basildon United in a penalty shootout thriller in the FA Trophy.