Fixes in trace refactoring

- Deprecates ATAMSG
- trace_ext.c is arm32 specific
- tee_kta_trace.h and trace_ta.h are generic
- Default level is now 1 (was 2)

Signed-off-by: Pascal Brand <pascal.brand@st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Make function tee_cryp_init() generic

Signed-off-by: Pascal Brand <pascal.brand@st.com>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tee Secure Element API Implementation

- implmenet Linux-style initcall mechanism
- prototyping tee_se_manager
- prototyping passthru reader
Prototyping logical channel manager
Implement select command

- implement tee_se_channel_select()
- add more testcases
- minor bug fix
Added more testcases

- added testcases to test session, logical channel and transmit on a
  channel
- added some function stubs to be implemented latter
- implemented open basic channel function
Implemented channel transmit function

- Implemented channel trasmit
- Implemented select next
- Added reference counter to AID
- Integration-test passed
Implemented get select response function

- implemented get select response in channel
- added testcase for select response
- added reference counter to maintain apdu (It might be passed through
  different modules)
Minor architecture refactory

- Make each module more modular.
- Seperate some staff in tee_se_protocol.h to tee_se_aid.h and tee_se_apdu.h
- Move session related operations from tee_se_manager.c to
  tee_se_session.c
- Added testcase for aid.
Move SE API self test to to a static TA
Let reader driver configurable by platform
Fix compilation error