MIS updates - Upload file provision


**Functionalities implemented:**

1) ```templates/ndf/html_field_widget.html```

   - Based on value as "File" in validators field (basically a list) of AttributeType, upload widget added
   
   - This upload widget consists of following:
     1. disabled text-box
     2. Upload button (styled/formatted using Foundation classes) for better look n feel
     3. Hidden html's file input element (as it's look n feel can't be changed)
     4. Upload button's click bind with input (file) element's click
     5. Only a single file can be added
     6. To notify which is selected, once it's selected, it's name is populated in text-box
     
   - Required style and javascipt added
   
2) ```templates/ndf/person_create_edit.html```
 
   - enctype attribute added to html's form
   
3) ```views/person.py```
 
   - Code added to accept File's input
   
   - Process that file & store it's ObjectId into given instance's/document's GAttribute field
   
4) ```views/file.py```

   - convert_mid_size_image() updated
   
   - Previously giving error (int division error mod division by zero) for image whose size is less than 1000x1000 pixel
   
   - Now code works for both whether size is larger/smaller than 1000x1000 pixels - it converts them appropriately
   
5) ```views/methods.py```
 
   - print statements modified
   
6) ```management/commands/map_reduce.py```

   - To avoid few errors: if document exists then only perform updates
   
7) ```management/commands/sync_existing_documents.py```

   - license field update: MetaType exclusion added.