First version with partial mongodb support
[shareit] Fix access table

- The access table is indexed by the user_id
- Fix config in order to use user_id in SetAccess parameter
- Remove unused code
[shareit] database.mongo: Fix list sharelinks return value
[shareit] add sqlite support
[shareit] database;monog: use ip from config file
[shareit] auth: Fix read/write permission

THe problem was with:
access, err := config.Db.GetAccess(context.Command.User, inPath)
Err and access variable are recreated and exist only in the if sentence
 that's why the permission was always read only.
Use case to reproduced the bug:
- create a b user with no is_admin permission. The b admin by configuration has read/write access on /ReadWrite dir.
Try to create a folder in /ReadWrite
[sahreit] Fix issue #1

Related to:
https://github.com/scritch007/shareit/issues/1

- Read in the configuration file the upload_chunk_size.
- use chunk for upload file in commands.go
[shareit] commnand: Fix read error management during upload in case of EOF
[shareit] commands: Fix ticket #3

Related to https://github.com/scritch007/shareit/issues/3

Suffix file by .upload during the upload
[shareit] sqlite: remove invalid code
[shareit] add user_list

- Fix user_list for sharelink in case of restricted option selected
- Fix unmarshal json in case of invalid type
[shareit] auth.go: add a check if the user is allowed in case of share link restricted
Update Accounts to the Api definition object
Merge remote-tracking branch 'bitbucket/mongodb' into mongodb

Conflicts:
	commands.go
	share_link/share_link.go
	types/auth.go
	types/types.go
Revert previous changes and create method to convert Accounts from Api to backend accounts
Add the create account capability
[shareit] Fix Read/write access

- Fix optional field user_list
Merge remote-tracking branch 'bitbucket/mongodb'
[shareit] fix: add check in case of restricted share link
[shareit] share_link: store user_id instead of user email

- The bug was during the sharelink creation the user email is register as user;
during a share link list for an user: the user id was specified