The provisions of this chapter shall be liberally construed so that persons who are in need of care and treatment for mental illness shall receive humane care and treatment and be restored to normal mental condition as rapidly as possible with an avoidance of loss of civil rights where not necessary, and with as little formality as possible, still preserving all rights and all privileges of the person as guaranteed by the Constitution.