Update edXpsl.sty

Use `xparse` syntax consistently and `expl3` syntax appropriately. Alter coding style to adhere to LaTeX project conventions.