Enabled support to find correct workgroup for conf file.
Enabled shares_controller and JS to display error in case workgroup is invalid
Removed the alert for workgroup error; now error is added in markup directly.
sanitizing extra_parameters input for ^M in windows based machines
Added sanitize_text method to sanitize parameters or a String for ^M newline characters.
Merge pull request #26 from AnkurGel/bug/windows-newline

Bug/windows-newline. Fixes [#1184](https://bugs.amahi.org/issues/1184).
Merge pull request #24 from AnkurGel/bug/1079-samba

Workgroup in /etc/samba/smb.conf, error-alert for validation fail of workgroup
remove duplicated error messages, tweaks layouts
Adding spinner, resolving conflicts

Signed-off-by: Arpit Goyal <agmps17@gmail.com>