Updated structure of database and modified templates and code according to the changes

New database structure:
{_id: 593920, information: {}, inventory{}, skills{}, ...}
Each object in the database will be considered a a section, containing a
dictionary with the appropriate fields.

Common scripts of the templates have been separated and will be included
with the %include command to each template.
Updated .gitignore