Restructured API glossary list to accommodate categories. Changes to doc.js. Added getParent() to spektral-beta.js.