Fix broken parts

Content designers were not able to create new guides as the adding of parts was broken.
This fixes that and also fixes a javascript bug where new parts were not having their slug auto generated from the title.