Added related object link on state titles
Added header_title on admin templates
Re-fixing Bug #173: Bad file owner/permissions during firmware generation