Added check for GET['fid'] to avoid Notice.
Template: Replaced control with loop for 3.1
Updated Composer requirements to SS 3.1