SE API: minor changes according to commets

- Fix many typos.
- Add an assertion in aid_create(), open_session(), open_basic_channel() and
  open_logical_channel(), to prevent memory leak if call those functions twice
  in a row.

Signed-off-by: SY Chiu <sy.chiu@linaro.org>