Police say Nablus resident, 19, illegally in Israel, captured near city's clock tower with makeshift submachine gun and two pipe bombs filled with nails