Module: Added passing duda_request_t to get_value function of module_value.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Modules: Correct treatment of '?' in urls.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Network: Added iface filter.

For network you can specify which network you want to show with ?iface=interface_name after url.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Modules: Fixed a bug.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Security: Code a bit restructured.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Module: List modules when accessing /api/.

Displays a list of modules, that user has access to, when accessing /api/.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>
Main: Set content type to json.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>