Fix some of core::optional<T> to work as intended when used. It is still WIP in some places.

Add *some* tests to core::optional<T>
Fix several syntax errors within core::polymorphic<T>

Add *some* tasks for core::polymorphic<T>