Fife town at a standstill as school building destroyed by huge blaze