Made some coding standard measures.
Removed some lines of commentaries.
Added function to display/hide field solr_path.
Set fields solr_usr and solr_pw as required.