Properly check if :inherits was provided to defelement
Documentation fix
Add function to create fragments
Introduce functions to manipulate the action bar