Module template dirs are under project directory.
Add a default value for actions_dir
Fix infinite redirection in first boot
Explictly close the file handle after reading a documentation page
Don't read arbitrary files from doc directory

Exposing all the files in doc directory is not a safe thing to do. It is
best to let only intended file to be read and displayed.
Fix link to ownCloud service

The link is intended to take the user to and address where ownCloud
services are provided and not to the Plinth ownCloud configuration
page.
Fix sidebar menu in pagekite introduction page
Fix sidebar menu in user management pages
Re-introduce Django CSRF middleware

It is a security issue not to include the Django CSRF middle. Also, since we
don't have a reason to alter the Django middleware list and order, we should
use the same list.
Rename the context processor
Don't use os.path.join() to concatenate URL parts

This could lead to "\" being used on Windows. Although, we won't be
supporting Windows, this is a conceptual problem.
Improve exception handle when running actions

- Don't use depricated exception.message. Instead using exception.args
- Pass stdout output along with stderr in exception
- Handle possible exceptions such as ValueError, OSError in all cases
- Log all command executions and their errors
Use os.path.join() instead of string concatenation in actions

Presence of / in action is not a problem at is check for early. Any other tricks
are secured against by the realpath() check immediately afterwards.
Indentation updates

- No spaces at the beginning and end of a single line comment. (python code does this)
- Double space after a statement in a multi-line comment. (PEP-8)
- Enforce 79 character limit. (PEP-8)
- Empty line after a block ends make code more readable.
- Empty line at the end of a multi line comment. (python code seems to do this)
Update a comment in makefile about modified help pages path
Merge additional changes in fonfon/dev branch

- Remove duplicate fix for firstboot redirection
- Remove duplicate adding of actions_dir to cfg.py
- Capitalize global variable in module_loader.py
- Minor refactoring while adding app specific static directories
Merge pull request #91 from SunilMohanAdapa/fonfon-dev

Additional fixes over merge request #89
Merge pull request #90 from jvalleroy/fix-templates-dir

Module template dirs are under project directory.