added manage stock field in the admin, currently unsupported by indexers and frontend. Also removed unused php variable assignment (followed by immediate reassignment) in upgrade script.