Use CSymPy::RCP and similar
Add missing headers
Implement RCP and Ptr
Add reference counter to Basic